package com.xpf.service.status;

import com.xpf.service.status.entity.BpmProcessSuccessEvent;
import lombok.extern.slf4j.Slf4j;

/**
 * 审批取消
 */
@Slf4j
@BpmStatusStrategy(statusModel = StatusServiceFactory.StatusModel.CANCELED)
public class CanceledStatusService implements IStatusProcessService<BpmProcessSuccessEvent> {

    @Override
    public void statusProcess(BpmProcessSuccessEvent data) {
        //处理业务回调
        log.info("BPM Callback successful-CANCELED-:{}", data.toString());
    }

}
